package com.example.userprovider.service;


import com.example.userprovider.dao.UserMapper;
import com.jbf.pojo.User;
import com.jbf.service.UserService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;

@Component
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public List<User> findAllUser() {

        return userMapper.findAllUser();
    }
}
